package com.wysiwyg.flow;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author wwcc
 */
@SpringBootApplication(scanBasePackages = {"com.wysiwyg.flow","com.wysiwyg.common"})
@MapperScan("com.wysiwyg.flow.mapper")
@EnableDiscoveryClient // 添加此注解以启用服务注册与发现
public class WysiwygFlowApp {


    public static void main(String[] args) {
        SpringApplication.run(WysiwygFlowApp.class, args);
    }


}